package msgs;
import java.util.*;

/**
 * Used by the client to request/set buddylists
 * Team 9: Andrew Hayworth, Brian Parrella, Ryan Kortmann, Nina Papa
 * @author Andrew Hayworth
 *
 */

public class BLMsg extends ClientMsg {
	private String wantsBL;
	private ArrayList<String> buddyList;
	
	public BLMsg(String ip, String name, String pwd, byte[] key, String wantsBL) {
		super(ip, name, pwd, key);
		this.wantsBL = wantsBL;
	}
	
	public BLMsg(String ip, String name, String pwd, byte[] key, ArrayList<String> buddyList) {
		super(ip, name, pwd, key);
		this.buddyList = buddyList;
	}

	/**
	 * @return the wantsBL
	 */
	public String getWantsBL() {
		return wantsBL;
	}

	/**
	 * @param wantsBL the wantsBL to set
	 */
	public void setWantsBL(String wantsBL) {
		this.wantsBL = wantsBL;
	}

	/**
	 * @return the buddyList
	 */
	public ArrayList<String> getBuddyList() {
		return buddyList;
	}

	/**
	 * @param buddyList the buddyList to set
	 */
	public void setBuddyList(ArrayList<String> buddyList) {
		this.buddyList = buddyList;
	}


	
	
}
